<template>
    <div class="horizontal-input">
        <el-input v-model="input" placeholder="请输入内容"></el-input>
    </div>
</template>

<script>
export default {
    name:'HorizontalInput',
    data() {
        return {
            input: ''
        }
    }
}
</script>

<style lang="less" scoped>
    .horizontal-input
    {
        padding: 20px 0;
        border: 1px solid red;
    }
</style>